﻿<UserControl x:Class="Ausy.Silverlight.Survey.QuestionModule.ViewParts.ResultView"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:System="clr-namespace:System;assembly=mscorlib"
	mc:Ignorable="d"             
    xmlns:prism="http://www.codeplex.com/prism">
    <Button Content="Button" prism:Click.Command="{Binding CloseCommand}">
        <Button.Template>
            <ControlTemplate>
                <Border BorderBrush="#FF2D2D2D" BorderThickness="0" Margin="10" CornerRadius="20" Width="535">
                    <Border.Effect>
                        <DropShadowEffect BlurRadius="21" Direction="-90" ShadowDepth="0"/>
                    </Border.Effect>
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FFFF4444" Offset="0"/>
                            <GradientStop Color="#FFB9000A" Offset="1"/>
                        </LinearGradientBrush>
                    </Border.Background>
                    <StackPanel x:Name="LayoutRoot" Orientation="Vertical" Height="400" >
                        <Grid VerticalAlignment="Top" Height="50" Margin="0,0,0,10" HorizontalAlignment="Center">
                            <Grid.Effect>
                                <DropShadowEffect BlurRadius="21" Direction="0" ShadowDepth="0" Opacity="0.5"/>
                            </Grid.Effect>
                            <Path Data="F1M835.17,227.183L835.17,278.155C835.17,284.783,840.543,290.156,847.17,290.156L847.17,290.156L1114.605,290.156C1121.233,290.156,1126.606,284.783,1126.606,278.155L1126.606,278.155L1126.606,227.183z" Stretch="Fill" Width="291.436" Margin="0" UseLayoutRounding="False" HorizontalAlignment="Center" d:LayoutOverrides="Width" VerticalAlignment="Center">
                                <Path.Fill>
                                    <LinearGradientBrush EndPoint="0.5,0.292" StartPoint="0.5,1.281">
                                        <GradientStop Color="#FFFF4444" Offset="0"/>
                                        <GradientStop Color="#FFB9000A" Offset="1"/>
                                    </LinearGradientBrush>
                                </Path.Fill>
                            </Path>
                            <TextBlock Text="{Binding ResultTitle}"  Style="{StaticResource TitleTextBlockStyle}"/>
                        </Grid>
                        <TextBlock Text="{Binding ResultText}" Style="{StaticResource ResultTextBlockStyle}"/>

                    </StackPanel>
                </Border>
            </ControlTemplate>
        </Button.Template>
    </Button>
</UserControl>
    